﻿@model XPressify.Models.DeleteEventModel

@{
    ViewBag.Title = "Event delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<h3>Are you sure you want to delete this event?</h3>
<fieldset>
    <legend style="font-size:x-large;color:#222">@Model.Name</legend>
        
    <table>
        <tr>
            <td style="text-align:center;word-break:break-all">
                <div style="font-weight:bolder;font-size:14px">@Model.Name</div>
                @Model.StartDate - @Model.EndDate
                <br />
                @Model.Location
            </td>
            <td width="600px">
            </td>
        </tr>
    </table>

</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Delete" />
    </p>
}